/**
 * Shopware 4
 * Copyright © shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 */

//{namespace name=backend/swag_update/main}
//{block name="backend/swag_update/view/no_update"}
Ext.define('Shopware.apps.SwagUpdate.view.NoUpdate', {

    extend: 'Enlight.app.Window',

    alias: 'widget.update-no-update',

    title: '{s name=window_title}Software Update{/s}',

    layout: 'fit',

    width: 350,

    height: 230,

    initComponent: function () {
        var me = this;

        me.items = [ me.createInfoPanel() ];

        return me.callParent(arguments);
    },

    createInfoPanel: function() {
        var me = this;

        return Ext.create('Ext.panel.Panel', {
            bodyPadding: 25,
            border: false,
            html: '<div style="text-align:center"><img style="margin-bottom:20px" src="">{s name="no_update_available"}<h1>Kein Update verfügbar</h1><br><p>Sie besitzen die aktuellste Shopware Version.</p>{/s}</div>'
        });
    }

});

//{/block}
